package com.jindianjichi.subject.application.convert;

import com.jindianjichi.basic.entity.SubjectLabel;
import com.jindianjichi.subject.application.entity.SubjectCategoryDto;
import com.jindianjichi.subject.application.entity.SubjectLabelDto;
import com.jindianjichi.subject.domain.entity.SubjectCategoryBo;
import com.jindianjichi.subject.domain.entity.SubjectLabelBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelDtoConverter {
   SubjectLabelDtoConverter instance= Mappers.getMapper(SubjectLabelDtoConverter.class);
   SubjectLabelBo convertToBoLabel(SubjectLabelDto subjectLabelDto);
   List<SubjectLabelDto> convertToDtoLabel(List<SubjectLabelBo> list);
}
